package com.kemai.designmode.chain

import com.kemai.common.utils.AppUtils

/**

 *@description:折扣优惠
 * @author: zhaoshanshan
 * @date: 2022/10/4 9:48 上午

 */
class ZheKouDiscount(private val next:MultiplyDiscount?): MultiplyDiscount(next) {
    override fun calculate(money: Double): Double {
        AppUtils.getInstance()?.showToast("执行折扣优惠")
        val je = money*0.9
        return super.calculate(je)
    }


}